#ifndef EFFECT_H
#define EFFECT_H
#include <vector>
#include <string>
#include "D3DApp.h"

class Effect
{
public:
	virtual ~Effect() {}
	virtual const char * GetClassName() { return "Effect";}

	virtual void Load(LPCWSTR filename);
	ID3DXEffect* GetEffect();

	virtual void Clean();

	virtual void SetTech(D3DXHANDLE name);

	virtual D3DXHANDLE GetTech();
	

protected:
	ID3DXEffect* m_pEffect;
private:
	D3DXHANDLE m_Tech;
};
#endif